const mongoose = require('mongoose')

const baseInstallation = new mongoose.Schema({ // 基础设施
    title: String,
    author: {
        type: mongoose.SchemaTypes.ObjectId,
        ref: 'user'
    }
}, {versionKey: false, timestamps: {createdAt: 'create_time', updatedAt: 'update_time'}})

module.exports = mongoose.model('baseInstallation', baseInstallation);
